Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

code: Add new safe API for constructing a code #257

Merged
merged 14 commits into from
Oct 11, 2024
Merged

Conversation

felinira
Copy link
Collaborator

@felinira felinira commented Aug 25, 2024

This adds new API for constructing a code with a reasonably safe entropy. We also deprecate the old methods to construct a code, and emit warnings on the usage of the old ones.

Closes #193

Copy link

codecov bot commented Aug 25, 2024

Codecov Report

Attention: Patch coverage is 52.38095% with 40 lines in your changes missing coverage. Please review.

Project coverage is 37.83%. Comparing base (040e422) to head (64ccafa).
Report is 14 commits behind head on main.

Files with missing lines Patch % Lines
src/core.rs 61.81% 21 Missing ⚠️
cli/src/main.rs 0.00% 18 Missing ⚠️
src/uri.rs 83.33% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #257      +/-   ##
==========================================
+ Coverage   37.45%   37.83%   +0.37%     
==========================================
  Files          18       18              
  Lines        3153     3214      +61     
==========================================
+ Hits         1181     1216      +35     
- Misses       1972     1998      +26     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@felinira felinira enabled auto-merge (rebase) October 11, 2024 14:59
@felinira felinira merged commit 8f9f411 into main Oct 11, 2024
20 checks passed
@felinira felinira deleted the wip/code-safety branch October 11, 2024 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant